<?php

namespace app\api\validate;

use think\Validate;

class FeedbackValidate extends Validate{

    protected $rule = [
        'content'    => 'require|max:3',
        'image'      => 'require',
    ];

    protected $field = [
        'content'   => '内容',
        'image'     => '图片'
    ];
}